package in.falkeninc.umt_v0_9_8_1;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class MyReceiver extends BroadcastReceiver {

	   @Override
	   public void onReceive(Context context, Intent intent) {
	      Toast.makeText(context, "Intent Detected.", Toast.LENGTH_LONG).show();
			
			// Check what fragment is currently shown, replace if needed.

				/*	      DetailsActivity  m = (DetailsActivity) DetailsActivity.getActivityInstance();

	      LayoutInflater mInf = LayoutInflater.from(context);
	      
	      View myView = mInf.inflate(R.layout.newalarm, null);
	      if (m == null) Log.d ("MyReveiver.java: ", "m was null!");
	      
	      ((DetailsActivity) m).addNewAlarm(myView);
*/	   }

	}
